#ifndef POPUPDIALOG_H
#define POPUPDIALOG_H

#include <QDialog>
#include <QTimer>

namespace Ui {
class PopupDialog;
}

class PopupDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PopupDialog(QWidget *parent = nullptr);
    ~PopupDialog();
    void setPopupText(QString str);
    void setPopupFlash(bool xflash);
private slots:
    void on_Btn_Confirm_pressed();
    void on_Btn_Cancel_pressed();
    void slotFlash();
private:
    Ui::PopupDialog *ui;
    QTimer *m_cPopFlashTimer;
    bool m_xflashflag;
};

#endif // POPUPDIALOG_H
